home *** CD-ROM | disk | FTP | other *** search
- Script:LoadScript("scripts/materials/commoneffects.lua");
-
- --#Script:ReloadScript("scripts/materials/mat_rock.lua") --for copying/pasting into the console!!!
-
-
- Materials["mat_rock_nd"] = {
- type="rock",
- -------------------------------------
- PhysicsSounds=PhysicsSoundsTable.Hard,
- -------------------------------------
- bullet_drop_single = CommonEffects.common_bullet_drop_single_ashphalt,
- bullet_drop_rapid = CommonEffects.common_bullet_drop_rapid_ashphalt,
- -------------------------------------
-
- projectile_hit = CommonEffects.common_projectile_hit,
- mortar_hit = CommonEffects.common_mortar_hit,
- smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
- flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
- grenade_hit = CommonEffects.common_grenade_hit,
-
- bullet_hit = {
- sounds = {
- {"Sounds/bullethits/brock1.wav",SOUND_UNSCALABLE,200,5,60},
- {"Sounds/bullethits/brock2.wav",SOUND_UNSCALABLE,200,5,60},
- {"Sounds/bullethits/brock3.wav",SOUND_UNSCALABLE,200,5,60},
- {"Sounds/bullethits/brock4.wav",SOUND_UNSCALABLE,200,5,60},
- },
-
- particleEffects = {
- name = "bullet.hit_rock.a",
- },
- },
- pancor_bullet_hit = {
- sounds = {
- {"Sounds/bullethits/brock1.wav",SOUND_UNSCALABLE,200,5,60},
- {"Sounds/bullethits/brock2.wav",SOUND_UNSCALABLE,200,5,60},
- {"Sounds/bullethits/brock3.wav",SOUND_UNSCALABLE,200,5,60},
- {"Sounds/bullethits/brock4.wav",SOUND_UNSCALABLE,200,5,60},
- },
-
- particleEffects = {
- name = "bullet.hit_rock_pancor.a",
- },
- },
-
-
-
- -------------------------------------
- player_walk = CommonEffects.player_conc_walk,
- player_run = CommonEffects.player_conc_run,
- player_crouch = CommonEffects.player_conc_crouch,
- player_prone = CommonEffects.player_conc_prone,
- player_walk_inwater = CommonEffects.player_walk_inwater,
-
- player_drop = {
- sounds = {
- {"sounds/player/bodyfalls/bodyfallrock1.wav",SOUND_UNSCALABLE,210,10,150},
- {"sounds/player/bodyfalls/bodyfallrock2.wav",SOUND_UNSCALABLE,210,10,150},
- },
- -- decal = {
- -- texture = System:LoadTexture("Textures/Decal/Default.tga"),
- -- scale = 0.1,
- -- },
- },
- melee_slash = {
- sounds = {
- {"sounds/weapons/machete/macheteconc1.wav",SOUND_UNSCALABLE,185,5,30},
- {"sounds/weapons/machete/macheteconc2.wav",SOUND_UNSCALABLE,185,5,30},
- {"sounds/weapons/machete/macheteconc3.wav",SOUND_UNSCALABLE,185,5,30},
- },
- particles =
- {
- { --HitSparksTrail
- focus = 0.0,
- color = {1,1,1},
- speed = 2.0,
- count = 5,
- size = 0.010,
- size_speed=0,
- gravity={x=0,y=0,z=-5},
- lifetime=0.1,
- tid = System:LoadTexture("Textures/Decal/Spark.dds"),
- tail_length = 0.3,
- frames=0,
- blend_type = 2
- },
- { --HitStonesDark
- focus = 1,
- speed = 2,
- start_color = {1,1,1},
- end_color = {1,1,1},
- count = 8, --default 3
- size = 0.01,
- size_speed=0,
- gravity = {x = 0.0, y = 0.0, z = -3},
- rotation = {x = 0.0, y = 0.0, z = 15},
- lifetime=0.75,
- frames=1,
- blend_type = 0,
- bouncyness = 0.5,
- tid = System:LoadTexture("textures\\Sprites\\stone1.dds"),
- },
- { --HitStonesLight
- focus = 1,
- speed = 2,
- start_color = {1,1,1},
- end_color = {1,1,1},
- count = 6, --default 2
- size = 0.01,
- size_speed=0,
- gravity = {x = 0.0, y = 0.0, z = -3},
- rotation = {x = 0.0, y = 0.0, z = 50},
- lifetime=0.750,
- frames=1,
- blend_type = 0,
- bouncyness = 0.5,
- tid = System:LoadTexture("textures\\Sprites\\stone2.dds"),
- },
- {--hitsmoke
- focus = 0,
- start_color = {0.89,0.69,0.4},
- end_color = {1,1,1},
- speed = 0.1,
- count = 5, --default 3
- size = 0.01,
- size_speed=0.01,
- gravity = {x = 0.0, y = 0.0, z = 0.1},
- rotation = {x = 0.0, y = 0.0, z = 2},
- lifetime=1.25,
- tid = System:LoadTexture("textures/clouda2.dds"),
- frames=0,
- blend_type = 0,
- },
- },
- },
- -------------------------------------
- player_land = {
- sounds = {
- --sound , volume , {min, max}
- --NOTE volume and min max are optional
- {"sounds/doors/dooropen.wav",SOUND_UNSCALABLE,150,4,20},
- {"sounds/doors/dooropen.wav",SOUND_UNSCALABLE,150,4,20},
-
- },
- },
- gameplay_physic = {
- piercing_resistence = 15,
- friction = 0.7,
- bouncyness= 0.2, -- default 0
- },
- ---------------------------------------------
- AI = {
- fImpactRadius = 5,
- },
- }